import service from '.'
interface emailLoginData{
    email: string,
    password:string
}

function loginByEmail(data: emailLoginData) {
    return service({
        url: '/IdentityServer/Login/LoginByEmailAndPwd',
        method: 'post',
        data
    })
}

export {
    loginByEmail
}